package com.itheima.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhengbinghua
 * @since 2023-03-02
 */
@Getter
@Setter
@TableName("orders_details")
public class OrdersDetails implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    //订单详情id
    private String id;

    /**
     * 订单id
     */
    private String ordersId;

    private String name;
    //菜品id
    private String dishId;
    //套餐id
    private String setmealId;
    //口味
    private String flavor;

    /**
     * 数量
     */
    private Integer number;
    //金额
    private BigDecimal amount;
    //图片
    private  String image;
}
